package com.lin.sqltool.model;

/**
 * 链接的信息
 */
public class ConnectionInfoModel {

    private String name;

    private String host;

    private String port;

    private String username;

    private String password;

    private String databaseType;

    public ConnectionInfoModel() {
    }

    /**
     *
     * @param name
     * @param host
     * @param port
     * @param username
     * @param password
     * @param databaseType
     */
    public ConnectionInfoModel(String name, String host, String port, String username, String password, String databaseType) {
        this.name = name;
        this.host = host;
        this.port = port;
        this.username = username;
        this.password = password;
        this.databaseType = databaseType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDatabaseType() {
        return databaseType;
    }

    public void setDatabaseType(String databaseType) {
        this.databaseType = databaseType;
    }
}
